<%@page import="Proj1.Aluno"%>
<%@page import="java.util.ArrayList"%>
<%@page import="Proj1.MostraAlunos"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="Proj1.BancoDeDados"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="seaglass.css" />
<title>Insert title here</title>
</head>
<body>
<%ArrayList<Aluno> alunos = (ArrayList<Aluno>) request.getAttribute("alunos");%>

<table>
<th> matricula </th>
<th> nome </th>
<th> endereco </th>
<tr>

<%for(Aluno aluno : alunos){%>
		<td> <%out.print(aluno.getMatricula()); %> </td>
		<td> <%out.print(aluno.getNome()); %> </td>
		<td> <%out.print(aluno.getEndereco()); %> </td>
		<tr>
	<%}%>


</table>

</body>
</html>